// IGNORE_K2
class <symbolName descr="null" textAttributesKey="KOTLIN_CLASS">X</symbolName><<symbolName descr="null" textAttributesKey="KOTLIN_TYPE_PARAMETER">T</symbolName>>{}
fun <<symbolName descr="null" textAttributesKey="KOTLIN_TYPE_PARAMETER">T</symbolName>> <symbolName descr="null" textAttributesKey="KOTLIN_FUNCTION_DECLARATION">foo</symbolName>() : <symbolName descr="null" textAttributesKey="KOTLIN_CLASS">X</symbolName><<symbolName descr="null" textAttributesKey="KOTLIN_TYPE_PARAMETER">T</symbolName>> {<error descr="[NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY] A 'return' expression required in a function with a block body ('{...}')" textAttributesKey="ERRORS_ATTRIBUTES">}</error>
val <symbolName descr="null" textAttributesKey="KOTLIN_PACKAGE_PROPERTY">x</symbolName> <symbolName descr="null" textAttributesKey="KOTLIN_KEYWORD">by</symbolName> <error descr="[DELEGATE_SPECIAL_FUNCTION_MISSING] Type 'X<TypeVariable(T)>' has no method 'getValue(Nothing?, KProperty<*>)' and thus it cannot serve as a delegate" textAttributesKey="ERRORS_ATTRIBUTES"><symbolName descr="null" textAttributesKey="KOTLIN_PACKAGE_FUNCTION_CALL">foo</symbolName><<error descr="Type expected" textAttributesKey="ERRORS_ATTRIBUTES">></error>()</error>